package factory.method;

/**
 * @ClassName FactoryMethodDemo
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/7/13 13:53
 * @Version 1.0
 */
public class FactoryMethodDemo {
	public static void main(String[] args) {

		BillFactory billFactory = new ContractBillFactory();
		billFactory.createBill().settle();
		BillFactory billFactory1 = new PropertyBillFactory();
		billFactory1.createBill().settle();
	}


}
